<template>
  <swiper>
      <swiper-item v-for="(item,index) in topImages" :key="index" class="swiperitem">
          <img :src="item" alt="">
      </swiper-item>
  </swiper>
</template>

<script>
import {Swiper,SwiperItem} from 'components/common/swiper/index.js'

export default {
    name:"DetailsSwiper",
    props:{
        topImages:{
        type:Array,
        default(){
            return []
        }
        }
    },
    components:{
        Swiper,
        SwiperItem
    },
   
}
</script>

<style scoped>
.swiperitem{
    height: 300px;
    overflow: hidden;
}
</style>